package decorator.starbuzzNew;

/**
 * @author jacob
 * @Date 2020/12/16 00:05
 */
public abstract class Beverage {
    String description = "Unknown Beverage";
    Size size = Size.TALL;

    public String getDescription() {
        return description;
    }

    public Size getSize() {
        return size;
    }

    public void setSize(Size size) {
        this.size = size;
    }

    public abstract double cost();

    /**
     * 尺寸枚举类，依次为 小，中，大 杯
     */
    public enum Size{
        TALL,
        GRANDE,
        VENTI

    }
}
